﻿namespace Longbow.WeChatAuth
{
    /// <summary>
    /// Gitee 认证默认配置项值
    /// </summary>
    public class WeChatDefaults
    {
        /// <summary>
        /// 默认认证方案名称
        /// </summary>
        public const string AuthenticationScheme = "WeChat";

        /// <summary>
        /// 认证方案显示名称
        /// </summary>
        public const string DisplayName = "WeChat";

        /// <summary>
        /// 授权地址
        /// </summary>
        public const string AuthorizationEndpoint = "https://open.weixin.qq.com/connect/qrconnect";

        /// <summary>
        /// 获取 Access_Token 地址
        /// </summary>
        public const string TokenEndpoint = "https://api.weixin.qq.com/sns/oauth2/access_token";

        /// <summary>
        /// 获得 用户信息地址
        /// </summary>
        public const string UserInformationEndpoint = "https://api.weixin.qq.com/sns/userinfo";

        /// <summary>
        /// 认证方案首页
        /// </summary>
        public const string HomePath = "/Home/Index";
    }
}
